Programming - Adventure Game
OPENING QUESTIONS: Please discuss your project with your team. What aspects are proving to be the MOST cumbersome/difficult/frustrating?
What aspects are most rewarding?
LEARNING TARGET: I will continue working on my 'Adventure Game' today. I will work with my team, the class, and Mr W to clarify the grading requirements for this project.
COURSE DOCUMENT: Ver 1.70 is HERE
CALENDAR: Your Map is due today, last day of in-class work time on that project is also today.
WORDS O' THE DAY:
For Loop (Used to move through a loop a certain number of times and keeping track of each time through the loop using a counter variable that is incremented by a specific value each time
While Loop (Used to move through a loop as long as the initial condition is TRUE)
Iterate (To move through a loop, each time through the loop is called one 'iteration')
WORK O' THE DAY:
Here are my thoughts on the project so far (We'll edit this in Google Docs today):
- The entire project must be run within a while loop
- The loop begins when the user clicks the 'Start' button
- There are 5 rooms connected by 5 passages
- It takes one 'step' to move into a passage from a room
- It takes one 'step' to move from a room into a passage
- Steps are defined to be N, S, E & W
- At least one back and forth is factually impossible: for example, moving out of room 1 into a passage by going North is NOT reversed by moving South from within that same passage
- Text input from the user is done in a text box object
- Text output TO the user is done via a label
- Rookies can assume the user will type the correct terms
- Senseis should allow a bit of leeway (let's clarify)
- The program ends when either the user has visited all the rooms and collected all materials or done all the tasks or the user hits the 'quit' button.
- One (and only one) action is possible in each room. That can take the form of 'taking' an object found there or doing some sort of action there. I'm a bit 'iffy' on that being only 1, let's discuss.
- Game play ends when the user has visited all rooms and done all required actions.
- Some sort of congratulatory message is displayed if the user wins. A 'gentle' losing message is displayed otherwise.